package com.bjpowernode.dataservice;

import com.bjpowernode.api.pojo.BidInfoProduct;
import com.bjpowernode.api.service.InvestService;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;
import java.util.List;

@SpringBootTest
public class MyTest01 {
    @Resource
    private InvestService investService;
    @Test
    public void Test01(){
        List<BidInfoProduct> bidInfoProducts = investService.queryBidListByProductId(1, 0, 5);
        System.out.println("--------------------------------");
        for (BidInfoProduct bidInfoProduct : bidInfoProducts) {
            System.out.println(bidInfoProduct);
        }
        System.out.println("--------------------------------");
    }
}
